* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
}

.navbar {
    background-color: #333;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
}

.nav-links li a:hover,
.nav-links li a.active {
    background-color: #555;
    border-radius: 4px;
}

.section {
    padding: 5rem 2rem;
    min-height: 100vh;
}

#home {
    background-color: #f5f5f5;
    text-align: center;
    padding-top: 8rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    background-color: #eee;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
}

.job-list {
    margin-top: 2rem;
}

.job-item {
    background-color: #f5f5f5;
    padding: 2rem;
    margin-bottom: 1rem;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }
} 